package com.pengshun.modules.api.coal.para;

import com.pengshun.modules.api.coal.validator.First;
import com.pengshun.modules.api.coal.validator.Second;
import com.pengshun.modules.api.coal.validator.Third;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class MapPara {

    private Double longitude;

    private Double latitude;

    @NotNull(message = "merchantCategoryId不能为空", groups = {First.class})
    private  Long merchantCategoryId;
    private  String name;

    @NotNull(message = "merchantCategoryId不能为空", groups = {Third.class})
    private  String phone;

    private Integer distance;
}
